import http from '../utils/request.js'

//向外暴露这个整个discusstion表的api
export default {

    getAllDiscusstionBelongClass(params) {

        return http.get("/discusstion/getAllDiscusstionBelongClass?classId=" + params)
    },

    pulishDiscusstion(params) {

        return http.post("/discusstion/pulishDiscusstion", params);
    },

    getDiscusstionById(params) {
        return http.get("/discusstion/getDiscusstionById?id=" + params);
    }

}